package cn.Alibaba.pet.service;

import cn.Alibaba.basic.util.PageList;
import cn.Alibaba.pet.domain.SearchMasterMsg;
import cn.Alibaba.basic.service.IBaseService;
import cn.Alibaba.pet.dto.AccDto;
import cn.Alibaba.pet.query.SearchMasterMsgQuery;

import javax.servlet.http.HttpServletRequest;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Tom
 * @since 2022-08-09
 */
public interface ISearchMasterMsgService extends IBaseService<SearchMasterMsg> {


    void publish(SearchMasterMsg searchMasterMsg, Long id);

    PageList<SearchMasterMsg> toHandle(SearchMasterMsgQuery query, HttpServletRequest request);



    PageList<SearchMasterMsg> user(SearchMasterMsgQuery query, HttpServletRequest request);

    void reject(Long id);

    void accept(AccDto dto);
}
